package com.yaolin.jfinal.ioc;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

/**
 * 
 * @author yaolin
 *
 */
public class IndexInterceptor implements Interceptor {

	@Override
	public void intercept(Invocation inv) {
		System.out.println("### before invoke ###");
		inv.invoke();
		System.out.println("### after invoke ###");
	}

}
